cmake_minimum_required (VERSION 3.8)
project(OpenCV_object)
find_package (OpenCV REQUIRED)
include_directories (${OpenCV_INCLUDE_DIRS})
add_executable (main9 直方图.cpp)
 target_link_libraries (main9 ${OpenCV_LIBS})